package pers.bbw.crr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import pers.bbw.crr.dto.base.BaseSearchDto;

/**
 * 帖子信息DTO 帖子
 *
 * @author bbw
 * @date 2024-12-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "帖子信息DTO", description = "查询DTO")
public class PostSearchDto extends BaseSearchDto {

    /**
     * 帖子名称
     */
    @ApiModelProperty(value = "帖子id")
    private Integer id;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 父级板块id
     */
    @ApiModelProperty(value = "父级板块id")
    private Integer plateId;

    /**
     * 发帖人id
     */
    @ApiModelProperty(value = "发帖人id")
    private Integer userId;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态（1.已关闭；2.开启；3.封禁）")
    private Integer state;

    /**
     * 帖子内容
     */
    @ApiModelProperty(value = "帖子内容")
    private String content;

}
